﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Jw.Web.App_Start;

namespace Jw.Web.Areas.Pacm.Controllers
{
    public class HomeController : BaseController
    {
        //
        // GET: /Pacm/Home/
        [MvcMenuFilter(false)]
        public ActionResult Index()
        {
            if (!User.Identity.IsAuthenticated)
                return Redirect("~/Login/Pacm");

            var model = new
            {
                dataSource = new
                {
                    Jbrq = DateTime.Now.Date.AddDays(-7).ToString("yyyy-MM-dd") + "到" + DateTime.Now.Date.ToString("yyyy-MM-dd"),
                    State = "passed"
                },
                form = new
                {
                }

            };
            return View(model);
        }

    }
}
